Skip to content

docs(id): clarify sync selection and completion scope (port of #3188) - #4783

Merged
dezren39 merged 1 commit into
mainfrom
queue/6789-4782-sync-docs-port
Nov 3, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/6789-4782-sync-docs-port

Conversation

@dezren39

@dezren39 dezren39 commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

Ports PR #3188's sync doc clarifications to the crate-split locations and lands them, for issue #4782.

PR #3188 has been open and conflicting since 2026-10-31: the crate split moved pkgs/id/src/sync_method.rs to pkgs/id/crates/id-core/src/sync_method.rs, so its clarifications never landed and the stale pre-range-sync wording is still on main (sync_method.rs says range sync's index will supply the numbers "when it merges" and that LogSyncOnly is where "Range sync (P3.1) adds itself here when it merges" — while LogAndRange exists in the same file and range sync merged long ago, #179).

What this PR does — PR #3188's wording, verbatim, at the current locations:

  • pkgs/id/crates/id-core/src/sync_method.rs: topic-scoped-handshake selection note (not used by serve's own event sync), the SyncStats seam text (no production group-sync initiator yet; LogAndRange supports both, LogSyncOnly refuses range), the estimated_difference accuracy note, and the LogSyncOnly doc line.
  • pkgs/id/src/event_sync.rs: serve always uses range sessions on this ALPN, whole-store sync set.
  • pkgs/id/src/log_sync.rs: group-sync initiator not built yet; completion recording deferred until it exists.

Verification: the resulting blobs for sync_method.rs (1a2cf2c24) and event_sync.rs (5651fc1d0) are byte-identical to PR #3188's target blobs; the log_sync.rs hunk applied cleanly on the current base. Diff touches only doc comments in the three sync modules — no behaviour change.

Supersedes PR #3188 (closed as superseded once this lands). The deferred completion-recording gap the log_sync note mentions is already tracked by issue #734 — referenced, not duplicated or implemented here.

Closes #4782


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Port of PR #3188 to the crate-split locations for issue #4782: sync_method.rs moved to pkgs/id/crates/id-core/src/sync_method.rs in the split, which left PR #3188 conflicting and its clarifications unlanded. Wording is PR #3188 verbatim (result blobs for sync_method.rs and event_sync.rs are byte-identical to PR #3188); the log_sync.rs hunk is applied on the current base. The completion-recording gap the log_sync note names stays tracked by issue #734.
@dezren39
dezren39 requested a review from a team as a code owner November 3, 2026 07:33
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-11-03T07:33:44.818948Z
We couldn’t complete this review. Comment @codex review to try again.
4761ec4 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@coderabbitai

coderabbitai Bot commented Nov 3, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 31 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: e5ed9703-9098-4575-a723-77ffdd607d29
Commits

Reviewing files that changed from the base of the PR and between 557e0fa and 4761ec4.

Files selected for processing: 3
  • pkgs/id/crates/id-core/src/sync_method.rs
  • pkgs/id/src/event_sync.rs
  • pkgs/id/src/log_sync.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.

@dezren39

dezren39 commented Nov 3, 2026

Copy link
Copy Markdown
Member Author

Codex disposition (task 6789): the Codex code review on this head (4761ec4) FAILED on Codex usage limits ("You have reached your Codex usage limits for code reviews") — it produced zero inline findings and no review body to disposition (verified: no comments under pulls/4783/comments). There is no undispositioned finding on this PR. Additionally, the wording landed here is verbatim PR #3188 text, and PR #3188's head received a completed Codex review with has_any_findings=false. Docs-only diff, checks green — proceeding to merge under the standing criteria.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant